﻿using System.Collections.Generic;
using System.Runtime.Serialization;

namespace WebService.Service.Transfer {

    [DataContract]
    public class CreatePurchaseListRequest {

        [DataMember]
        public string CustomerId { get; set; }

        [DataMember]
        public List<PurchaseItem> PurchaseItems { get; set; }

        public CreatePurchaseListRequest() {
            PurchaseItems = new List<PurchaseItem>();
        }
    }

    [DataContract]
    public class PurchaseItem {

        [DataMember]
        public string ProductName { get; set; }

        [DataMember]
        public int Count { get; set; }

    }
}